﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="MassMailing.WPF.MailSettingsDialogBox"
        Title="Mass Mailer Settings" Height="330" Width="400" WindowStyle="ToolWindow">
	<DockPanel>
		<DockPanel LastChildFill="False" DockPanel.Dock="Bottom" Margin="0">
			<StackPanel DockPanel.Dock="Right" Orientation="Horizontal">
				<Button x:Name="btnSave" Content="_Save" Margin="5,0,10,0" VerticalAlignment="Top" HorizontalAlignment="Left" MinWidth="50" IsDefault="True" Click="btnSave_Click"/>
				<Button x:Name="btnCancel" Content="_Cancel" Margin="5,0,10,0" VerticalAlignment="Top" HorizontalAlignment="Left" MinWidth="50" IsCancel="True"/>
			</StackPanel>
		</DockPanel>
		<Canvas DockPanel.Dock="Bottom" Height="42">
			<Button x:Name="btnAddSMTP" Content="_Add SMTP Setting" VerticalAlignment="Top" Canvas.Left="9" Canvas.Top="11" Click="btnAddSMTP_Click" />
		</Canvas>
		<ScrollViewer DockPanel.Dock="Top">
			<StackPanel x:Name="spnlSMTPSettings" Height="Auto" Width="Auto"/>
		</ScrollViewer>
	</DockPanel>
</Window>
